<%-- 
    Document   : AndroidUpadte
    Created on : 2012-3-19, 15:42:12
    Author     : yfxiawei
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>  

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
          <%
      //防止用户非法登陆
      String u=(String)session.getAttribute("rootusername");
      //如果用户没有登录
      if(u==null){
      response.sendRedirect("login.jsp?err=1");
      return ;
      }
   %>
    </head>
    <center>
            <body>
        <h1>Hello World!</h1>
        <font size=2>APK更新<br>  
        <form method="post" action="AndroidUpdate" ENCTYPE="multipart/form-data">  

            文件:  
            <input type="file" name="file">  
            
            <input type="submit" value="上传" name="submit">  
        </form> </font>  
    </body>
    </center>
</html>
